package JavaPractice;
import java.util.Scanner;

public class 统计符合条件元素的个数 {
    public static void main(String args[]) {
        long max = 0;
        long odd = 0;
        long even = 0;
        long i = 0;
        Scanner reader = new Scanner(System.in);
        max = reader.nextLong();
        for (i = 3; i <= max; i += 3) {
            if ((i & 1) == 1) {
                odd += 1;
            } else {
                even += 1;
            }
        }
        System.out.println(odd + "," + even);
        reader.close();
    }
}